package com.woniu.sharepark.propertysystem.dto;

import org.springframework.stereotype.Component;

/**
 * @ClassName: CommunityDTO
 * @Description: 此类用于接收前端传回来的小区信息，以添加车位
 * @Author: Zongjie.Li
 * @Date: 2019/6/4
 * @Version: 1.0
 **/
@Component
public class CommunityDTO {

    private String province;
    private String city;
    private String nameOrAddress;

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getNameOrAddress() {
        return nameOrAddress;
    }

    public void setNameOrAddress(String nameOrAddress) {
        this.nameOrAddress = nameOrAddress;
    }

    @Override
    public String toString() {
        return "CommunityDTO{" +
                "province='" + province + '\'' +
                ", city='" + city + '\'' +
                ", nameOrAddress='" + nameOrAddress + '\'' +
                '}';
    }
}
